package com.rzjm.exercise.module.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.service.impl.BaseServiceImpl;
import com.rzjm.exercise.module.dao.CkTerminalDao;
import com.rzjm.exercise.module.domain.CkTerminal;
import com.rzjm.exercise.module.service.CkTerminalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


@Service
public class CkTerminalServiceImpl extends BaseServiceImpl<CkTerminalDao, CkTerminal> implements CkTerminalService {
    @Resource
    private CkTerminalDao ckTerminalDao;

    @Override
    public List<CkTerminal> getPageByUserId(Page<CkTerminal> page, Map<String, Object> map) {
        return ckTerminalDao.getPageByUserId(page,map);
    }

    @Override
    public Integer getCountBySysUserId(Map<String, Object> map) {
        return ckTerminalDao.getCountBySysUserId(map);
    }
}
